package com.voltmao.persistent.model;

import org.mybatis.annotation.Field;
import org.mybatis.annotation.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * corp_organization
 */
@Table(name="corp_organization")
public class CorpOrganization implements Serializable {
    /**
     * dataId
     */
    public static final String DATAID = "dataId";

    /**
     * dataId
     */
    @Field(columnName="data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String dataId;

    /**
     * pDataId
     */
    public static final String PDATAID = "pDataId";

    /**
     * pDataId
     */
    @Field(columnName="p_data_id", jdbcType="VARCHAR", javaType=String.class, length=36, scale=0)
    private String pDataId;

    /**
     * isDel
     */
    public static final String ISDEL = "isDel";

    /**
     * isDel
     */
    @Field(columnName="is_del", jdbcType="INTEGER", javaType=Integer.class, length=10, scale=0)
    private Integer isDel;

    /**
     * updateDate
     */
    public static final String UPDATEDATE = "updateDate";

    /**
     * updateDate
     */
    @Field(columnName="update_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date updateDate;

    /**
     * createDate
     */
    public static final String CREATEDATE = "createDate";

    /**
     * createDate
     */
    @Field(columnName="create_date", jdbcType="TIMESTAMP", javaType=Date.class, length=19, scale=0)
    private Date createDate;

    /**
     * name
     */
    public static final String NAME = "name";

    /**
     * name
     */
    @Field(columnName="name", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String name;

    /**
     * des
     */
    public static final String DES = "des";

    /**
     * des
     */
    @Field(columnName="des", jdbcType="VARCHAR", javaType=String.class, length=255, scale=0)
    private String des;

    private static final long serialVersionUID = 1L;

    /**
     * @return dataId
     *         dataId
     */
    public String getDataId() {
        return dataId;
    }

    /**
     * @param dataId
     *         dataId
     */
    public void setDataId(String dataId) {
        this.dataId = dataId == null ? null : dataId.trim();
    }

    /**
     * @return pDataId
     *         pDataId
     */
    public String getpDataId() {
        return pDataId;
    }

    /**
     * @param pDataId
     *         pDataId
     */
    public void setpDataId(String pDataId) {
        this.pDataId = pDataId == null ? null : pDataId.trim();
    }

    /**
     * @return isDel
     *         isDel
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * @param isDel
     *         isDel
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * @return updateDate
     *         updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     *         updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return createDate
     *         createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     *         createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return name
     *         name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *         name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return des
     *         des
     */
    public String getDes() {
        return des;
    }

    /**
     * @param des
     *         des
     */
    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }
}